<?php
// Load configuration variables from database, plog-globals, & plog-includes/plog-functions
require_once(dirname(dirname(__FILE__)).'/plog-load-config.php');
require(PLOGGER_DIR.'plog-admin/plog-admin.php');
//
if($_SESSION['is_admin']=='0') header("location:is_admin_error.php");
else{
$query="DELETE FROM plogger_config WHERE admin_username='".$_GET['username']."'";
echo $_GET['username'];
run_query($query);
header("location:plog-users.php");

display('', 'users');
}
?>